<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>使用指南</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f5f5f5;
            overflow-x: hidden;
        }
        
        .guide-container {
            width: 100%;
            max-width: 750px;
            margin: 0 auto;
            position: relative;
        }
        
        .guide-bg {
            width: 100%;
            height: auto;
            display: block;
        }
        
        .guide-content {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        /* 如果需要在图片上添加额外的内容，可以在这里添加样式 */
        .overlay-text {
            position: absolute;
            color: white;
            font-size: 18px;
            text-align: center;
            width: 100%;
            padding: 20px;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .guide-container {
                max-width: 100%;
            }
        }
    </style>
</head>
<body>
    <div class="guide-container">
        <img src="zhinan.png" alt="使用指南" class="guide-bg">
        <div class="guide-content">
            <!-- 如果需要在图片上添加额外的内容，可以在这里添加 -->
            <!-- <div class="overlay-text" style="top: 100px;">这里是额外的文字内容</div> -->
        </div>
    </div>
    
    <script>
        // 禁止页面缩放
        document.addEventListener('touchstart', function (event) {
            if (event.touches.length > 1) {
                event.preventDefault();
            }
        });
        
        var lastTouchEnd = 0;
        document.addEventListener('touchend', function (event) {
            var now = (new Date()).getTime();
            if (now - lastTouchEnd <= 300) {
                event.preventDefault();
            }
            lastTouchEnd = now;
        }, false);
        
        // 图片自适应处理
        window.addEventListener('load', function() {
            adjustImageSize();
        });
        
        window.addEventListener('resize', function() {
            adjustImageSize();
        });
        
        function adjustImageSize() {
            var img = document.querySelector('.guide-bg');
            var container = document.querySelector('.guide-container');
            
            if (img && container) {
                // 获取图片原始尺寸
                var imgWidth = img.naturalWidth;
                var imgHeight = img.naturalHeight;
                
                // 获取屏幕宽度
                var screenWidth = window.innerWidth;
                
                // 计算缩放比例
                var scale = screenWidth / imgWidth;
                
                // 设置容器高度
                container.style.height = (imgHeight * scale) + 'px';
            }
        }
    </script>
</body>
</html>